<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model common\models\kingdee\OrgPosition */

$this->title = $model->FID;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Org Positions'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="org-position-view">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a(Yii::t('app', 'Update'), ['update', 'id' => $model->FID], ['class' => 'btn btn-primary']) ?>
        <?= Html::a(Yii::t('app', 'Delete'), ['delete', 'id' => $model->FID], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => Yii::t('app', 'Are you sure you want to delete this item?'),
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'FID',
            'FNAME_L1',
            'FNAME_L2',
            'FNAME_L3',
            'FNUMBER',
            'FINDEX',
            'FADMINORGUNITID',
            'FJOBID',
            'FEFFECTDATE',
            'FVALIDATE',
            'FDESCRIPTION_L1',
            'FDESCRIPTION_L2',
            'FDESCRIPTION_L3',
            'FSIMPLENAME',
            'FCREATORID',
            'FCREATETIME',
            'FLASTUPDATEUSERID',
            'FLASTUPDATETIME',
            'FHRORGUNITID',
            'FCONTROLUNITID',
            'FPOSITIONTYPEID',
            'FDELETEDSTATUS',
            'FPUBPROPERLDAP',
            'FISRESPPOSITION',
            'FFLUCHECKTIME:datetime',
            'FZDY1',
            'FZDY2',
            'FZDY3',
            'FZDY4',
            'FZDY5',
            'FZDY6',
            'FZDY7',
            'FZDY8',
            'FZDY9',
            'FZDY10',
            'FZDY11',
            'FZDY12',
            'FZDY13',
            'FZDY14',
            'FZDY15',
            'FSORTCODE',
            'FISCREATEBYJOB',
            'FJOBLEVELID',
            'FPOSITIONPLANCOUNT',
            'FHISTORYRELATEID',
            'FDOMAINID',
            'FEFFDT',
            'FLEFFDT',
            'FPURPOSE',
            'FLOWJOBGRADEID',
            'FHIGHJOBGRADEID',
            'FPARENTID',
            'FPRODUCTLINEID',
            'FPOSPLANCOUNT',
        ],
    ]) ?>

</div>
